﻿using Orchard.Data.Migration;

namespace Contrib.AppFabric {
    public class Migrations : DataMigrationImpl {
        public int Create() {

            SchemaBuilder.CreateTable("AppFabricSettingsPartRecord",
                table => table
                    .ContentPartRecord()
                    .Column<string>("CacheName")
                    .Column<int>("MaxiumumNumberOfErrorsUntilRetryCircle")
                    .Column<int>("SecondsToWaitInRetryCircle")                    
                );

            return 1;
        }
    }
}